<html xmlns:HH="http://www.w3.org/1999/xhtml">
    <body>
        <h1>hello word!!!</h1>
        <p>this is a html page</p>
        <a href="http://127.0.0.1:8081/emps/deleteById/2">delete</a>


        <form action=" http://127.0.0.1:8081/emps/update">
            <input type="text" name="id">
            <input type="text" name="username">
            <input type="submit" value="update">
        </form>
        <form action="http://127.0.0.1:8081/emps/insert" method="get">
            <div>
                <label for="username">Username:</label>
                <input type="text" id="username" name="username" required>
            </div>

            <div>
                <label for="password">Password:</label>
                <input type="password" id="password" name="password" required>
            </div>

            <div>
                <label for="name">Name:</label>
                <input type="text" id="name" name="name" required>
            </div>

            <div>
                <label for="gender">Gender:</label>
                <input type="text" id="gender" name="gender" placeholder="Male/Female">
            </div>

            <div>
                <label for="image">Image URL:</label>
                <input type="text" id="image" name="image" placeholder="Enter image URL">
            </div>

            <div>
                <label for="job">Job:</label>
                <input type="text" id="job" name="job" placeholder="Enter job title">
            </div>

            <div>
                <label for="entrydate">Entry Date:</label>
                <input type="date" id="entrydate" name="entrydate" required>
            </div>

            <div>
                <label for="deptId">Department ID:</label>
                <input type="number" id="deptId" name="deptId" placeholder="Enter department ID">
            </div>

            <!-- Hidden input for create_time -->
            <input type="hidden" id="create_time" name="create_time" value="<%= new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss).format(new java.util.Date())">
            <div>
                <input type="submit" value="Submit">
            </div>
        </form>



    </body>
</html>